<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JingHai 工会面板</title>
    <link rel="shortcut icon" href="/static/img/logo-normal.png" type="image/x-icon">
    <link rel="stylesheet" href="/static/css/index.legacy.css">
    <link rel="stylesheet" href="//cdn.staticfile.org/layui/2.8.17/css/layui.min.css">
    <link rel="stylesheet" href="/static/css/layui.css">
</head>
<body id="body">
    <!-- Bg Blur -->
    <div class="blur"></div>
    <!-- NavBar -->
    <nav class="NavBar">
        <div class="left">
            <img id="logo" src="/static/img/logo-dark.png" alt="">
            <span id="title">JingHai 工会面板</span>
        </div>
        <div class="center">
            <ul id="centerNav">
                <li class="item" onclick="changeTab(0)">首页</li>
                <li class="item" onclick="changeTab(1); page_joinexam__editElements()">入会预审</li>
                <li class="item" onclick="changeTab(2);">成员列表</li>
                <li class="item" onclick="changeTab(3)">工单中心</li>
                <li class="item" onclick="changeTab(4)">待定</li>
            </ul>
        </div>
        <div class="right">
            <div id="user">
                <span id="user-login" onclick="login_open()">登录</span>
            </div>
            <div id="message">
                <span id="message-container"><i class="layui-icon layui-icon-notice"></i></span>
            </div>
            <span id="clock"></span>
        </div>
    </nav>
    <!-- Main -->
    <div class="Main">
        <div class="apage">
            <span style="font-size:40px; position:absolute; top:81px; left:152px" id="1-text-welcome-name">请先登录</span>
            <span style="display:none; font-size:35px; position:absolute; top:81px; left:924px" id="1-text-premission">你的权限等级是：</span>
            <span style="display:none; font-size:30px; position:absolute; top:164px; left:302px" id="1-text-welcome-to">欢迎使用 JingHai 工会面板</span>
            <span style="display:none; font-size:30px; position:absolute; top:452px; left:152px;" id="1-text-youcando-title">你现在可以干的事情：</span>
            <span style="display:none; font-size:30px; position:absolute; top:452px; left:502px;" id="1-text-youcando-content-1"></span> <!-- Will be automatic filling by JavaScript. -->
            <span style="display:none; font-size:30px; position:absolute; top:502px; left:502px;" id="1-text-youcando-content-2"></span> <!-- Will be automatic filling by JavaScript. -->
        </div>
        <div class="apage">
            <span style="font-size:40px; position:absolute; top:81px; left:152px" id="2-text-welcome-name">请先登录</span>
            <span style="display:none; font-size:40px; position:absolute; top:81px; left:510px" id="2-text-joinstatus">,&nbsp;&nbsp;你已经是京海工会成员，无需再次参加预审核</span>
            <span style="display:none; font-size:30px; position:absolute; top:164px; left:302px" id="2-text-info">你有权限查看入会预审列表</span>
            <div style="display: none;" id="p1-container"> <!-- Premission:1 预审页面 -->
                <div class="card">
                    <div class="container">
                        <img src="/static/img/wooden_axe.png" alt="">
                        <br>
                        <span style="color:#e9ad3f" class="catg-name">建筑</span>
                        <br>
                        <span class="catg-info">
                            虽然 Minecraft 是像素游戏，但是只要使用一些特定的技巧与方法，就能建造出像素风的真实建筑。
                            如果你对这方面很感兴趣，并且会基本的建筑技巧，欢迎你通过此类预审核来加入我们
                        </span>
                        <br><br>
                        <button type="button" style="--self-color:#e9ad3f; --self-color2:#e9ad3f50;" class="catg-start-btn">开始 建筑 预审核</button>
                    </div>
                </div>
                <div class="card">
                    <div class="container">
                        <img src="/static/img/redstone.png" alt="">
                        <br>
                        <span style="color:#FF0000" class="catg-name">红石</span>
                        <br>
                        <span class="catg-info" style="color:#343a40">
                            红石在 Minecraft 中起到了工业化制造的重要作用，通过红石机器，你可以轻松的量产可再生物品。
                            如果你掌握了基本红石元器件的用法，欢迎你通过此类预审核来加入我们
                        </span>
                        <br><br>
                        <button type="button" style="--self-color:#AA0F01; --self-color2:#AA0F0150;" class="catg-start-btn">开始 红石 预审核</button>
                    </div>
                </div>
                <div class="card">
                    <div class="container">
                        <img src="/static/img/diamond_sword.png" alt="">
                        <br>
                        <span style="color:#A4FDF0" class="catg-name">战斗</span>
                        <br>
                        <span class="catg-info" style="color:#000000">
                            战斗，在 Minecraft 中并不血腥。你只需要了解并熟记各种敌对生物的习性，就能轻松打败它们。
                            如果你对敌对生物的习性有所了解，欢迎你通过此类预审核来加入我们
                        </span>
                        <br><br>
                        <button type="button" style="--self-color:#A4FDF0; --self-color2:#A4FDF050" class="catg-start-btn">开始 战斗 预审核</button>
                    </div>
                </div>
            </div>
            <span style="display:none; font-size:30px; position:absolute; top:770px; left:152px;" id="2-text-nb-1">提示：填写预审核表单的时候请不要刷新页面或离开页面，有可能导致数据丢失</span>
            <span style="display:none; font-size:30px; position:absolute; top:810px; left:241px;" id="2-text-nb-2">已经填写过表单的请在群/频道内找对应审核员</span>
        </div>
        <div class="apage">
            <span style="font-size:40px; position:absolute; top:81px; left:152px" id="3-text-welcome-name">请先登录</span>
        </div>
        <div class="apage">
            <span style="font-size:40px; position:absolute; top:81px; left:152px" id="4-text-welcome-name">请先登录</span>
        </div>
        <div class="apage">
            <span style="font-size:40px; position:absolute; top:81px; left:152px">此页内容待定</span>
            <span style="font-size:30px; position:absolute; top:164px; left:302px" id="text-welcome2">如果你有好想法，欢迎来告诉我</span>
        </div>
    </div>
    <!-- Popout(No Display in Page) -->
    <div id="login" style="display:none">
        <link rel="stylesheet" href="/popout/css/popout.css">
        <div class="container">
            <i class="layui-icon layui-icon-close closeBtn" onclick="layer.close(localStorage.getItem('index_login'))"></i>
            <img class="logo" src="/static/img/logo-dark.png">
            <h1 class="title">登录 / 注册</h1>
            <div class="username">
                <h4>用户名</h4>
                <hr class="line">
                <input type="text" id="username" class="layui-input" autocomplete="username" placeholder="通常是你的游戏名">
            </div>
            <div class="password">
                <h4>密码</h4>
                <hr class="line">
                <input type="password" id="password" class="layui-input" autocomplete="new-password" placeholder="不要让别人看见哦">
            </div>
            <div class="btn">
                <button type="button" class="layui-btn" onclick="login()">登录</button>
                <button type="button" class="layui-btn" onclick="register()">注册</button>
            </div>
        </div>
        <script src="https://cdn.staticfile.org/layui/2.8.17/layui.min.js"></script>
        <script src="/popout/js/index.js"></script>
    </div>
    <div id="logout" style="display:none;">
        <link rel="stylesheet" href="/popout/css/popout.css">
        <div class="container">
            <i class="layui-icon layui-icon-close closeBtn" onclick="layer.close(localStorage.getItem('index_logout'))"></i>
            <img class="logo" src="/static/img/logo-dark.png">
            <h1 class="title2">登出</h1>
            <h4 style="margin-left:27.5%">请确认你是否要登出</h4>
            <br><br>
            <div class="btn">
                <button type="button" class="layui-btn" onclick="logout_true()">确定</button>
                <button type="button" class="layui-btn" onclick="layer.close(localStorage.getItem('index_logout'))">取消</button>
            </div>
        </div> 
        <script src="https://cdn.staticfile.org/layui/2.8.17/layui.min.js"></script>
        <script src="/popout/js/index.js"></script>
    </div>
    <!-- JavaScript -->
    <script src="https://cdn.staticfile.org/layui/2.8.17/layui.min.js"></script>
    <!-- Start: Animation/Features -->
    <script src="/static/js/fullscreen.js"></script>
    <script src="/static/js/layui.js"></script>
    <script src="/static/js/clock.js"></script>
    <script src="/static/js/tab.js"></script>
    <script src="/static/js/anti.js"></script>
    <script src="/static/js/login.js"></script>
    <!-- End: Animation/Features -->
    <!-- Start: Pages -->
    <script src="/static/js/pages/public.js"></script>
    <script src="/static/js/pages/home.js"></script>
    <script src="/static/js/pages/joinexam.js"></script>
    <!-- End: Pages -->
    <script src="/static/js/onload.js"></script>
</body>
</html>